import request from '@/utils/request'

// 查询质量认证流程列表
export function listNcQualityCertificationProcess(query) {
  return request({
    url: '/business/NcQualityCertificationProcess/list',
    method: 'get',
    params: query
  })
}

// 查询质量认证流程详细
export function getNcQualityCertificationProcess(id) {
  return request({
    url: '/business/NcQualityCertificationProcess/' + id,
    method: 'get'
  })
}

// 新增质量认证流程
export function addNcQualityCertificationProcess(data) {
  return request({
    url: '/business/NcQualityCertificationProcess',
    method: 'post',
    data: data
  })
}

// 修改质量认证流程
export function updateNcQualityCertificationProcess(data) {
  return request({
    url: '/business/NcQualityCertificationProcess',
    method: 'put',
    data: data
  })
}

// 删除质量认证流程
export function delNcQualityCertificationProcess(id) {
  return request({
    url: '/business/NcQualityCertificationProcess/' + id,
    method: 'delete'
  })
}
